<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php
        echo $this->headMeta();
        echo $this->headTitle();
        echo $this->headLink();
        echo $this->headScript();
        ?>
	</head>
	<!--[if lt IE 9]>
		<script src="<?php echo $this->baseUrl('js/dev/common/html5shiv.js')?>"></script>
	<![endif]-->
	
	<style type='text/css'>
    	.pie {
       	 behavior: url(<?php echo $this->baseUrl("/Pie/PIE.php")?>); 
     }
	</style> 
    <body>
    <div class="site pie">
    	<header class="header pie">
			<div role="banner" class="logo"><img src="<?php echo $this->baseUrl()."/images/logo.png"?>"/></div>
			<ul role="navigation" class="menu">  
				<li id="menuselected" style="width:80px;"><a href="<?php echo $this->url(array('controller' => 'index', 'action' => 'index'),'default',TRUE); ?>" title="accueil"><?php echo $this->translate("accueil")?></a></li>
				<li><a href="<?php echo $this->url(array('controller' => 'index', 'action' => 'catalogue'),'default',TRUE); ?>" title="catalogue"><?php echo $this->translate("catalogue")?></a></li>
				<li><a href="<?php echo $this->url(array('controller' => 'index', 'action' => 'actualite'),'default',TRUE); ?>" title="actualite"><?php echo $this->translate("actualite")?></a></li>
				<li><a href="<?php echo $this->url(array('controller' => 'index', 'action' => 'contact'),'default',TRUE); ?>" title="contact"><?php echo $this->translate("contact")?></a></li>
			</ul>
			<div role="search" id="recherche" class="right floatleft hidden">
				<form class="form-search">
					<div class="input-append">
						<input id="rechercheinput"  type="text" class="span2 search-query pie"> 
						<a id="recherchebutton" href="#" class="pie icon-search"></a>
					</div>
				</form>
			</div>
			<div class="clearfix"></div>
		</header>
		<section class="content">
				<?php echo $this->layout()->content ?>
		</section>
		<footer class="footer pie">
			<p>Copyright © 2012-<?php echo date('Y') ?>, Sébastien Paquis. Tous droits réservés.</p> 
			<div class="langue">
				<a id="en" href="<?php echo $this->url(array('controller' => 'index', 'action' => 'language', 'lang' => 'en', 'actionname' => $this->action),null,TRUE); ?>" class="changelangue" title="english"><img src="<?php echo $this->baseUrl()."/images/english.png"?>"></a>
        		<a id="fr" href="<?php echo $this->url(array('controller' => 'index', 'action' => 'language', 'lang' => 'fr', 'actionname' => $this->action),null,TRUE); ?>" class="changelangue hidden" title="français"><img src="<?php echo $this->baseUrl()."/images/french.png"?>"></a>
      		</div>
		</footer>
	</div>
    </body>
</html>
